package cn.yyh.servicePet;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: PetApplication
 * @Package: cn.yyh.servicePet
 * @date 2021/7/10
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = {"cn.yyh"})
@MapperScan("cn.yyh.servicePet.mapper")
public class PetApplication {
    public static void main(String[] args) {
        SpringApplication.run(PetApplication.class,args);
    }
}
